icon-browser: Fix name alignment
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Apr 2019 04:27:58 +0000 (00:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 Apr 2019 04:27:58 +0000 (00:27 -0400)
The icon names were left-aligned, not centered
under the icon.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/18
demos/icon-browser/window.ui

index 1d4f7d3fcf52251c2a5a57836400fa587b4e17b8..3b5d8b161db83dac7125d7755a8b56d79095fb32 100644 (file)
@@ -95,6 +95,7 @@
                       <object class="GtkCellRendererText" id="text_cell">
                         <property name="xpad">10</property>
                         <property name="ypad">10</property>
+                        <property name="xalign">0.5</property>
                       </object>
                     </child>
                   </object>